<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>收银列表</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link rel="stylesheet" type="text/css"
	href="H-ui.admin/static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css"
	href="H-ui.admin/static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css"
	href="H-ui.admin/lib/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css"
	href="H-ui.admin/static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css"
	href="H-ui.admin/static/h-ui.admin/css/style.css" />
<script type="text/javascript"
	src="H-ui.admin/lib/DD_belatedPNG_0.0.8a-min.js"></script>
<script>
	DD_belatedPNG.fix('*');
</script>
  </head>
  
  <body>
    	<nav class="breadcrumb">
	<i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span>
	收银管理 <span class="c-gray en">&gt;</span> 收银列表 <a
		class="btn btn-success radius r"
		style="line-height:1.6em;margin-top:3px"><i class="Hui-iconfont">&#xe68f;</i>
	</a></nav>
	<div class="page-container">
		<form method="post" action="cashierActionfindCashierlistyzj.action?pageNo=1">
			<div class="text-c">
				<input type="text" class="input-text" style="width:250px" placeholder="手牌" id="haid" name="cashier.handsID">
				<button name="" id="" class="btn btn-success" type="submit">
					<i class="Hui-iconfont"></i> 搜索
				</button>
			</div>
		</form>
		<div class="mt-20">
			<table
				class="table table-border table-bordered table-hover table-bg table-sort">
				<thead>
					<tr class="text-c" role="row">
						<th width="80" class="sorting_desc"
							aria-controls="DataTables_Table_0" rowspan="1" colspan="1"
							aria-sort="descending" style="width: 80px;">客户手牌</th>
						<th width="60" class="sorting" aria-controls="DataTables_Table_0"
							rowspan="1" colspan="1" style="width: 60px;">消费金额</th>
						<th width="120" class="sorting_disabled" rowspan="1" colspan="1"
							style="width: 120px;">操作</th>
					</tr>
				</thead>
				<tbody>
					<s:iterator value="ps.items"  var="cash" id="cash">
						<tr class="text-c odd" role="row">
							<td class="sorting_1">
							<s:property value="#cash.handsID" /></td>
							<td class="td-status"><span
								class="label label-success radius"><s:property
										value="#cash.price" /> </span></td>
							<td class="f-14 td-manage">
									<a
										href="cashierActionfindProject.action?cashier.handsID=<s:property value="#cash.handsID" />&cashier.price=<s:property value="#cash.price" />&num=2">消费记录
									</a>
							</td>
						</tr>
					</s:iterator>
				</tbody>
			</table>
			<table>
				<tr>
					<td colspan="7" align="center"><c:import
							url="/H-ui.admin/Cashier/rollPage.jsp" charEncoding="UTF-8">
							<c:param name="formName" value="document.forms[0]" />
							<c:param name="totalRecordCount" value="${ps.totalCount}" />
							<c:param name="totalPageCount" value="${ps.totalPageCount}" />
							<c:param name="currentPageNo" value="${ps.currPageNo}" />
						</c:import></td>
				</tr>
			</table>
		</div>
	</div>
	<!--_footer 作为公共模版分离出去-->
	<script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
	<script type="text/javascript" src="lib/layer/2.4/layer.js"></script>
	<script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script>
	<script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script>
	<!--/_footer 作为公共模版分离出去-->

	<!--请在下方写此页面业务相关的脚本-->

	<script type="text/javascript"
		src="${pageContext.request.contextPath}/H-ui.admin/lib/My97DatePicker/4.8/WdatePicker.js"></script>
	<script type="text/javascript"
		src="H-ui.admin/lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
	<script type="text/javascript"
		src="H-ui.admin/lib/laypage/1.2/laypage.js"></script>
	<script type="text/javascript">
		$('.table-sort').dataTable({
			"aaSorting" : [ [ 1, "desc" ] ],//默认第几个排序
			"bStateSave" : true,//状态保存
			"pading" : false,
			"aoColumnDefs" : [
			//{"bVisible": false, "aTargets": [ 3 ]} //控制列的隐藏显示
			{
				"orderable" : false,
				"aTargets" : [ 0, 8 ]
			} // 不参与排序的列
			]
		});
	</script>
</body>
</html>
